class Solution {
public:
    vector<vector<int> > FindContinuousSequence(int x) {
        int sum = 3,small = 1 , big =2;
        vector<vector<int>> output;
		while(small < (x+1)/2)
		{
			if(sum>x)
			{
				sum-=small;
				++small;
			}
			else if(sum<x)
			{
				++big;
				sum+=big;
			}
			else
			{
				vector<int> temp;
				for(int i = small ; i<= big ; ++i)
					temp.push_back(i);
				output.push_back(temp);
				sum-=small;
				++small;
			}
		}
		return output;
    }
};